<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<form th:action="@{/post/addPost}" method="post">
    职务名称：<input type="text" name="pname"/><br/>
    部门名称：<input type="text" name="did"/><br>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>